#ifndef ANIMATIONMANAGER_H
#define ANIMATIONMANAGER_H

#include "Animation.h"
#include "../Renderer/Mesh.h"
#include "../Utility/Renderer/GeometryTypes.h"
#include "../Utility/Misc/Timer.h"

#include <string>
using std::string;

class AnimationManager
{
public:
	AnimationManager();
	~AnimationManager();
	AnimationManager(AnimationManager& _ref);

	static void Initialize();
	static void LoadAnimatedMesh(string _filePath, Mesh& mesh);
	static void PlayAnimations();
private:
	static void LoadAnimation(string _filePath);
	static Animation animation;
	static AnimatedMeshDataPNT* playerMesh;

	static unsigned int startVertex;
    static unsigned int startIndex;
    static unsigned int vertCount;
	static unsigned int primitiveCount;

	static Timer timer;
};

#endif